package param.lock;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicresponse;
/**
 * 锁定接口应答参数
 * @author ice
 *
 */
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "lockresponse")
public class Lockresponse implements Serializable {
	
	private static final long serialVersionUID = 3160210962003385237L;
	
	private Publicresponse publicresponse;//公共信息 Publicresponse
	

	private List<Lockticketresponseinfo> tickets;//明细	List<Ticket>

	public Publicresponse getPublicresponse() {
		return publicresponse;
	}

	public void setPublicresponse(Publicresponse publicresponse) {
		this.publicresponse = publicresponse;
	}

	public List<Lockticketresponseinfo> getTickets() {
		return tickets;
	}
	
	@XmlElementWrapper(name="tickets") 
	@XmlElement(name="ticket")
	public void setTickets(List<Lockticketresponseinfo> tickets) {
		this.tickets = tickets;
	}
	
	

}
